﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace ERPStore.NewsLetters.Models
{
	[DataContract]
    public class NewsLetterListFilter
    {
		public NewsLetterListFilter()
		{
			PageIndex = 0;
			PageSize = 40;
		}
		[DataMember]
		public int PageIndex { get; set; }
		[DataMember]
		public int PageSize { get; set; }
		[DataMember]
		public string Search { get; set; }
		[DataMember]
		public ERPStore.Models.DateInterval DateInterval { get; set; }
		[DataMember]
		public string SortByPropertyName { get; set; }
		[DataMember]
		public System.ComponentModel.ListSortDirection SortDirection { get; set; }
		[IgnoreDataMember]
		public int TotalCount { get; set; }
    }
}
